<table id="base_index_detail_product_item_nav_slider_product_list" summary=""  border="0" cellspacing="0" cellpadding="0">
<caption>共有 <?php 
$count_of_products = count( $param['products'] );
$has_products = function() use ( $count_of_products ) { 

	return $count_of_products == 0 ? {die;} : $count_of_products;
}
echo $has_products();
?> 种品</caption>
<thead>
<tr>
	 <th class="span-8">商品</th>
	 <th class="span-8">描述</th>
	 <th class="span-2 last">价格</th>
</tr>
</thead>
<tbody>
<?php 
//循环显示所有的商品
$products = $param['products'];
foreach( $products as $index=>$product_info ){
?>
	 <tr class="base_index_detail_product_item_nav_slider_product_list_tr">
		 <td class="base_index_detail_product_item_nav_slider_product_id"><?php echo $product_info['product_id']?></td>
		 <td><?php echo $product_info['title']; ?></td>
		 <td class="product_describe"><?php echo $product_info['describe']; ?></td>	 
		 <td><?php echo $product_info['price']; ?></td>
	 </tr>
<?php
}
?>
</tbody>
</table>


